package com.glela.sensitiveWords.beans;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * Created by liujie 
 */
public class SensitiveWordsFilterResult {
    private String filteredContent;
    private String badWords;
    private String originalContent;

    public String getBadWords() {
        return this.badWords;
    }

    public void setBadWords(String badWords) {
        this.badWords = badWords;
    }

    public SensitiveWordsFilterResult() {
    }

    public SensitiveWordsFilterResult(String originalContent, String filteredContent, String badWords) {
        this.originalContent = originalContent;
        this.filteredContent = filteredContent;
        this.badWords = badWords;
    }

    public String getFilteredContent() {
        return this.filteredContent;
    }

    public void setFilteredContent(String filteredContent) {
        this.filteredContent = filteredContent;
    }

    public String getOriginalContent() {
        return this.originalContent;
    }

    public void setOriginalContent(String originalContent) {
        this.originalContent = originalContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("filteredContent", filteredContent)
                .append("badWords", badWords)
                .append("originalContent", originalContent)
                .toString();
    }
}
